import React from 'react'
import PropTypes from "prop-types";
import { Card } from 'antd';
function NoInfo(props) {
    return (
        <Card style={{
            borderRadius: 5
        }} >
            <p style={{
                margin: 0,
                fontweight: 900,
                textAlign: 'center',
                color: 'rgba(0, 0, 0, .3)',
                fontSize: 20,

            }}>{props.children}</p>

        </Card>
    )
}
//类型校验
NoInfo.propTypes = {
    title: PropTypes.object,
}
export default NoInfo